package com.wjp.villagemp;

import com.wjp.villagemp.model.sys.PageResult;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@RestController
public class WhSpringBootApplication {
	@Value("${server.port}")
	private String port;

	public static void main(String[] args) {
		SpringApplication.run(WhSpringBootApplication.class, args);
	}

    @GetMapping("/test1")
    public void courseList() {
        System.out.println("+++++++++++++++++++++++++++++++++++++++" + port);
    }
}
